package com.qfedu.tantu.controller;


import com.qfedu.tantu.service.intf.TileService;
import com.qfedu.tantu.vo.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;


/**
 * @author WangLe
 * @Date 2022/7/1 19:53
 */
@RestController
@Api
@CrossOrigin
@RequestMapping("/api/tile/")
public class TileController {
    @Resource
    private TileService service;


    //景点 以价格降序排列
    @ApiOperation("价格排序")
    @GetMapping("sort.do")
    public R sort(){
        return service.sort();
    }


}
